package com.ruoyi.jpbi.service.impl;

import com.ruoyi.jpbi.domain.jianshe.Actualreceipt;

import com.ruoyi.jpbi.domain.jianshe.Planreceipt;
import com.ruoyi.jpbi.mapper.ActualreceiptMapper;
import com.ruoyi.jpbi.service.ActualreceiptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ActualreceiptServiceImpl implements  ActualreceiptService{

    @Autowired
    ActualreceiptMapper actualreceiptMapper;

    @Override
    public List<Actualreceipt> findAllByUser(Actualreceipt actualreceipt) {
        return actualreceiptMapper.findAllByUser(actualreceipt);
    }

    @Override
    public int insertActualreceipt(Actualreceipt actualreceipt) {
        return actualreceiptMapper.insertActualreceipt(actualreceipt);
    }

    @Override
    public Actualreceipt findAllById(Long id) {
        return actualreceiptMapper.findAllById(id);
    }

    @Override
    public int updateActualreceipt(Actualreceipt actualreceipt) {
        return actualreceiptMapper.updateActualreceipt(actualreceipt);
    }

    @Override
    public int deleteActualreceiptByIds(String ids) {
        return actualreceiptMapper.deleteActualreceiptByIds(ids);
    }
}
